let ws = null;
if ('WebSocket' in window) {

    ws = new WebSocket("ws://127.0.0.1:8080/webSocket/"+sessionStorage.getItem("currentUserId"));
} else {

    app.$message.error("你的浏览器不支持WebSocket");
}